package com.glinsoft.ticktak.controller.view;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import springfox.documentation.annotations.ApiIgnore;

@ApiIgnore
@Controller
public class DefaultController extends BaseController {



    /**
     * 页面未找到
     * @return
     */
    @RequestMapping("/error/404")
    public ModelAndView notFound(){
        return new ModelAndView("/error/404");
    }


    /**
     * 系统内部错误
     * @return
     */
    @RequestMapping("/error/500")
    public ModelAndView internalError(){
        return new ModelAndView("/error/500");
    }


}
